/**
 * 
 */
package com.wubo.bm.common.service;

import java.io.Serializable;
import java.util.List;

import javax.annotation.security.RolesAllowed;

import com.wubo.bm.common.entity.Response;
import com.wubo.spring.hibernate.IEntityService;

/**
 * @author WuBo
 * @CreateDate 2012-2-24 上午09:29:08
 */
public interface IResponseService extends IEntityService<Response> {

	@RolesAllowed("ACL_DEL")
	void delete(Response response);
	
	@Override
	@RolesAllowed("ACL_ADD")
	public Serializable save(Response entity);
	
	List<Response> listTree(int responseType, int typeId, boolean audited);
}
